<extend name="Index/index" />
<block name="nav1">
    <div class="page-content">
        <div class="page-header">
            <h1>
                添加权限
                <small>
                    <i class="icon-double-angle-right"></i>
                     查看
                </small>
            </h1>
        </div><!-- /.page-header -->
    </div>
</block>
<block name="admin">
    <div class="pull-left col-md-12">
        <h1 class="text-center">添加权限</h1>
        <hr>
        <div class="text-center h4">
            <form action="<{:U('Role/add')}>" class="h3" method="post">
                权限名: <input type="text" name="node"><br><br>
                控制器: <input type="text" name="model"><br><br>
                操作名: <input type="text" name="fun"><br><br>
                <input type="radio" name="status" value="1" checked>启用 &nbsp;&nbsp;&nbsp;
                <input type="radio" name="status" value="0" >禁用<br><br>
                <button class="btn btn-info">保存</button>
            </form>
        </div>
    </div>
    <script>
        var url1 = "<{:U('Role/add')}>";
        var url2 = "<{:U('Role/del')}>";
    </script>
</block>
